  <p>
    <?php echo elgg_echo("librarything:username"); ?>
    <input type="text" name="params[librarything_username]" value="<?php echo htmlentities($vars['entity']->librarything_username); ?>" />  
    <input type="text" name="params[librarything_key]" value="<?php echo htmlentities($vars['entity']->librarything_key); ?>" />  
  </p>
